/* ljy创建的用来存放访问变量 */
// const BASEURL= 'http://localhost:8071';// 服务器访问的接口路径
// 语料库服务器
// const BASEURL = (process.env.NODE_ENV === 'production') ? 'http://120.79.0.124:8071' : 'http://localhost:8071';
// 学校服务器
const BASEURL = (process.env.NODE_ENV === 'production') ? 'https://tveti.lcvc.edu.cn' : 'http://localhost:8071';
const BASEURLAPI = `${BASEURL}/api`;// 服务器访问的接口路径
export default {
  // 服务器1地址：
  BASEURL,
  /* dict地址 */
  API_URL_BACKSTAGE_DICT_MANAGE: `${BASEURLAPI}/backstage/system/dict`,
  API_URL_BACKSTAGE_DICTITEM_MANAGE: `${BASEURLAPI}/backstage/system/dict/item`,
  /* 验证码地址 */
  API_URL_BACKSTAGE_VERIFYCODE: `${BASEURLAPI}/backstage/verifyCode`,
  /* 后台管理员登陆地址，get请求 */
  API_URL_BACKSTAGE_ADMIN_LOGIN: `${BASEURLAPI}/backstage/login`,
  /* 后台管理员注销地址,get请求 */
  API_URL_BACKSTAGE_ADMIN_LOGOUT: `${BASEURLAPI}/backstage/logout`,
  /* 当前管理员所拥有的菜单/权限集合，get请求 */
  API_URL_BACKSTAGE_USER_MENU: `${BASEURLAPI}/backstage/authority/user/session/treeMenu`,
  /* 读取当前登录账户信息，get请求；基本信息修改 */
  API_URL_BACKSTAGE_LOGINUSER: `${BASEURLAPI}/backstage/authority/user/session`,
  /* 后台管理账户密码修改，patch请求 */
  API_URL_BACKSTAGE_USER_PASSWORD_EDIT: `${BASEURLAPI}/backstage/authority/user/session/password`,
  /* 读取后台管理员，get请求；基本信息修改,put请求 */
  API_URL_BACKSTAGE_ADMIN_PASSWORD: `${BASEURLAPI}/backstage/admin/password`,
  /* 后台管理员列表请求查询，get请求；管理员添加：post请求；管理员修改：put请求；管理员批量删除：delete请求 */
  API_URL_BACKSTAGE_USER_MANAGE: `${BASEURLAPI}/backstage/authority/usermanage`,
  /* 后台管理员列表导入，post请求 */
  API_URL_BACKSTAGE_USER_MANAGE_IMPORT: `${BASEURLAPI}/backstage/authority/usermanage/excel`,
  /* 后台管理员表格模板下载，get请求 */
  API_URL_BACKSTAGE_USER_MANAGE_DOWNLOADTEMPLATE: `${BASEURLAPI}/backstage/authority/usermanage/excel/template`,
  /* 后台管理员数据表格下载，get请求 */
  API_URL_BACKSTAGE_USER_MANAGE_DOWNLOAD: `${BASEURLAPI}/backstage/authority/usermanage/excel`,
  /* 后台管理员的菜单列表,其中{userId}用来供调用者替换为真实的userId */
  API_URL_BACKSTAGE_USER_PERMISSION: `${BASEURLAPI}/backstage/authority/usermanage/{userId}/permission/tree`,
  /* 后台管理员的上传头像,其中{userId}用来供调用者替换为真实的userId */
  API_URL_BACKSTAGE_USER_UPLOAD_PHOTO: `${BASEURLAPI}/backstage/authority/usermanage/{userId}/uploadPhoto`,
  /* 当前用户上传上传头像 */
  API_URL_BACKSTAGE_USER_UPLOAD_PERSON_PHOTO: `${BASEURLAPI}/backstage/authority/user/session/uploadPhoto`,
  /* 后台部门列表请求查询，get请求；部门添加：post请求；部门修改：put请求；管理员批量删除：delete请求 */
  API_URL_BACKSTAGE_DEPARTMENT_MANAGE: `${BASEURLAPI}/backstage/authority/department`,
  /* 后台部门树形列表查询 */
  API_URL_BACKSTAGE_DEPARTMENT_TREE: `${BASEURLAPI}/backstage/authority/department/tree`,
  /* 后台角色列表请求查询，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_ROLE_MANAGE: `${BASEURLAPI}/backstage/authority/role`,
  /* 后台所有角色列表 */
  API_URL_BACKSTAGE_ROLE_MANAGE_ALL: `${BASEURLAPI}/backstage/authority/role/all`,
  /* 后台角色停用，patch请求 */
  API_URL_BACKSTAGE_ROLE_STOP_ENABLED: `${BASEURLAPI}/backstage/authority/role/edit/enabled`,
  /* 后台角色的菜单管理列表 */
  API_URL_BACKSTAGE_ROLE_PERMISSION_MANAGE: `${BASEURLAPI}/backstage/authority/role/permission`,
  /* 后台权限/菜单列表请求查询，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_PERMISSION_MANAGE: `${BASEURLAPI}/backstage/authority/permission`,
  /* 后台权限树形列表查询 */
  API_URL_BACKSTAGE_PERMISSION_TREE: `${BASEURLAPI}/backstage/authority/permission/tree`,
  /* 后台年级管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLGRADE_MANAGE: `${BASEURLAPI}/backstage/school/schoolgrade`,
  /* 后台专业管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLMAJOR_MANAGE: `${BASEURLAPI}/backstage/school/schoolmajor`,
  /* 后台专业部门树形列表查询 */
  API_URL_BACKSTAGE_SCHOOLMAJOR_TREE: `${BASEURLAPI}/backstage/school/schooldepartment/tree`,
  /* 后台专业管理表格模板下载，get请求 */
  API_URL_BACKSTAGE_SCHOOLMAJOR_MANAGE_DOWNLOADTEMPLATE: `${BASEURLAPI}/backstage/school/schoolmajor/excel/template`,
  /* 后台专业管理表格下载，get请求 */
  API_URL_BACKSTAGE_SCHOOLMAJOR_MANAGE_DOWNLOAD: `${BASEURLAPI}/backstage/school/schoolmajor/excel`,
  /* 后台专业管理表格导入，post请求 */
  API_URL_BACKSTAGE_SCHOOLMAJOR_MANAGE_IMPORT: `${BASEURLAPI}/backstage/school/schoolmajor/excel`,
  /* 后台专业群管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLMAJORGROUP_MANAGE: `${BASEURLAPI}/backstage/school/schoolmajorgroup`,
  /* 后台专业群管理表格导入，post请求 */
  API_URL_BACKSTAGE_SCHOOLMAJORGROUP_MANAGE_IMPORT: `${BASEURLAPI}/backstage/school/schoolmajorgroup/excel`,
  /* 后台专业群管理表格模板下载，get请求 */
  API_URL_BACKSTAGE_SCHOOLMAJORGROUP_MANAGE_DOWNLOADTEMPLATE: `${BASEURLAPI}/backstage/school/schoolmajorgroup/excel/template`,
  /* 后台专业群管理表格下载，get请求 */
  API_URL_BACKSTAGE_SCHOOLMAJORGROUP_MANAGE_DOWNLOAD: `${BASEURLAPI}/backstage/school/schoolmajorgroup/excel`,
  /* 后台学生管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLSTUDENT_MANAGE: `${BASEURLAPI}/backstage/school/schoolstudent`,
  /* 后台班级管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLCLASS_MANAGE: `${BASEURLAPI}/backstage/school/schoolclass`,
  /* 后台职位管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLPOSITION_MANAGE: `${BASEURLAPI}/backstage/school/schoolposition`,
  /* 后台职位管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLDEPARTMENT_MANAGE: `${BASEURLAPI}/backstage/school/schooldepartment`,
  /* 后台学期管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLTERM_MANAGE: `${BASEURLAPI}/backstage/school/schoolterm`,
  /* 后台学期管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLCLASSROOM_MANAGE: `${BASEURLAPI}/backstage/school/schoolclassroom`,
  /* 后台教学班管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLTEACHINGCLASS_MANAGE: `${BASEURLAPI}/backstage/school/schoolteachingclass`,
  /* 后台教学班管理表格模板下载，get请求 */
  API_URL_BACKSTAGE_SCHOOLTEACHINGCLASS_DOWNLOADTEMPLATE: `${BASEURLAPI}/backstage/school/schoolteachingclass/excel/template`,
  /* 后台教学班管理数据表格下载，get请求 */
  API_URL_BACKSTAGE_SCHOOL_SCHOOLTEACHINGCLASS_DOWNLOAD: `${BASEURLAPI}/backstage/school/schoolteachingclass/excel`,
  /* 后台专业管理表格导入，post请求 */
  API_URL_BACKSTAGE_SCHOOLTEACHINGCLASS_MANAGE_IMPORT: `${BASEURLAPI}/backstage/school/schoolteachingclass/excel`,
  /* 后台教学任务管理，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLTEACHINGTASK_MANAGE: `${BASEURLAPI}/backstage/school/schoolteachingtask`,
  /* 后台的教学班教师模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLTEACHINGTASKTEACHER_MANAGE: `${BASEURLAPI}/backstage/school/schoolteachingtaskteacher`,
  /* 后台的教学班学生模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLTEACHINGCLASSSTUDENT_MANAGE: `${BASEURLAPI}/backstage/school/schoolteachingclassstudent`,
  /* 后台的教师模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLTEACHER_MANAGE: `${BASEURLAPI}/backstage/school/schoolTeacher`,
  /* 后台获取所有教师信息 */
  API_URL_BACKSTAGE_SCHOOLTEACHER_ALL_MANAGE: `${BASEURLAPI}/backstage/school/schoolTeacher/all`,
  /* 后台的课程模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLCOURSE_MANAGE: `${BASEURLAPI}/backstage/school/schoolCourse`,
  /* 后台的课程模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOLCOURSESECTION_MANAGE: `${BASEURLAPI}/backstage/school/schoolCourseSection`,
  /* 读取教师个人拥有的课程列表 */
  API_URL_BACKSTAGE_SCHOOLCOURSE_COURSE_MANAGE: `${BASEURLAPI}/backstage/school/schoolTeacherCourse/teacher/session/courses`,
  /* 通过课程id查找章节 */
  API_URL_BACKSTAGE_SCHOOLCOURSESECTION_COURSEIDBYSECTION_MANAGE: `${BASEURLAPI}/backstage/school/schoolCourseSection/all`,
  /* 通过章节下的资源id删除 */
  API_URL_BACKSTAGE_SCHOOLCOURSESECTIONRESOURCE_MANAGE: `${BASEURLAPI}/backstage/school/schoolcoursesectionresource`,
  /* 通过课程id获取该课程所有资源 */
  API_URL_BACKSTAGE_SCHOOLCOURSERESOURCE_MANAGE: `${BASEURLAPI}/backstage/school/schoolCourseResource`,
  /* 根据资源名称查询该课程资源，上传章节资源时使用 */
  API_URL_BACKSTAGE_SCHOOLCOURSERESOURCE_ALL_MANAGE: `${BASEURLAPI}/backstage/school/schoolCourseResource/all`,
  /* 教师工作台，获取指定章节下的课程资源 */
  API_URL_BACKSTAGE_SCHOOLCOURSERESOURCE_GETRESOURCEBYSECTION_MANAGE: `${BASEURLAPI}/backstage/school/schoolCourseResource/getResourceBySection`,
  /* 教师工作台：上传课程资源 */
  API_URL_BACKSTAGE_SCHOOLCOURSERESOURCE_UPLOADBATCH_MANAGE: `${BASEURLAPI}/backstage/school/schoolCourseResource/upload`,
  /* 教师工作台：上传章节资源 */
  API_URL_BACKSTAGE_SCHOOLCOURSERESOURCE_UPLOADDINGCHAPTERRESOURCES_MANAGE: `${BASEURLAPI}/backstage/school/schoolTeacherCourse/section/resources`,
  /* 教师工作台：上传课程封面 */
  API_URL_BACKSTAGE_SCHOOLCOURSERESOURCE_UPLOADCOURSECOVER_MANAGE: `${BASEURLAPI}/backstage/school/schoolTeacherCourse/uploadCourseCover`,
  /* 教学任务下的教学班添加学生接口 */
  API_URL_BACKSTAGE_SCHOOLTEACHINGTASKSTUDENT_MANAGE: `${BASEURLAPI}/backstage/school/schoolteachingtaskstudent`,
  /* 查询所有部门 */
  API_URL_BACKSTAGE_SCHOOLDEPARTMENT_ALL_MANAGE: `${BASEURLAPI}/backstage/school/schooldepartment/all`,
  // 教师工作台接口
  /* 教学任务下的教学班级添加课堂 */
  API_URL_BACKSTAGE_SCHOOL_SCHOOLTEACHINGTASKLESSON: `${BASEURLAPI}/backstage/school/schoolteachingtasklesson`,
  // 系统管理 基础信息配置
  /* 教学任务下的教学班级添加课堂 */
  API_URL_BACKSTAGE_AUTHORITY_CONFIG: `${BASEURLAPI}/backstage/authority/config`,
  /* 学校模块设置 */
  API_URL_BACKSTAGE_AUTHORITY_SCHOOLCONFIG: `${BASEURLAPI}/backstage/school/schoolconfig`,
  // 项目管理接口
  /* 后台的项目模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOL_PROJECT: `${BASEURLAPI}/backstage/school/project`,
  /* 后台的项目类型模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOL_PROJECT_DAILY_TYPE: `${BASEURLAPI}/backstage/school/projectdailytype`,
  /* 后台的项目日志模块，get请求；添加：post请求；修改：put请求；批量删除：delete请求 */
  API_URL_BACKSTAGE_SCHOOL_PROJECT_DAILY: `${BASEURLAPI}/backstage/school/projectdaily`,
};
